.class Lcom/waiqin365/lightapp/chexiao/hc;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/av;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/av;->b()Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/av;->b:Ljava/lang/String;

    const-string/jumbo v2, "1"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/av;->d:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/o;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/o;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->b(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->c(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->d:Ljava/lang/String;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->e:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->a(Lcom/waiqin365/lightapp/kehu/b/o;)V

    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.RUN"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    const-class v2, Lcom/fiberhome/upload/UpLoadService;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    :cond_0
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "type"

    sget-object v2, Lcom/fiberhome/gaea/client/a/e;->g:Lcom/fiberhome/gaea/client/a/e;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "summary"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->d(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "imgs"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->o()Ljava/util/List;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "pic_path"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->c:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "reinit_activity"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    const v2, 0x7f080718

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->back()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->i:Ljava/lang/String;

    const-string/jumbo v2, ""

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->i:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    iget-object v2, v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->c:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->e(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/hc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;->e(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesSummaryActivity;)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x2c4
        :pswitch_0
    .end packed-switch
.end method
